import service from '../request'

// 查询自我筛查结果列表
export function listSelfScreeningResult(query) {
  return service({
    url: '/system/SelfScreeningResult/list',
    method: 'get',
    params: query,
  })
}

// 查询自我筛查结果详细
export function getSelfScreeningResult(id) {
  return service({
    url: '/system/SelfScreeningResult/' + id,
    method: 'get',
  })
}

// 新增自我筛查结果
export function addSelfScreeningResult(data) {
  return service({
    url: '/system/SelfScreeningResult',
    method: 'post',
    data: data,
  })
}

// 修改自我筛查结果
export function updateSelfScreeningResult(data) {
  return service({
    url: '/system/SelfScreeningResult',
    method: 'put',
    data: data,
  })
}

// 删除自我筛查结果
export function delSelfScreeningResult(id) {
  return service({
    url: '/system/SelfScreeningResult/' + id,
    method: 'delete',
  })
}
